package cn.edu.neu.dao;
import cn.edu.neu.model.Goods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;



/**
 * Goods接口
 */
@Mapper
public interface GoodsDao {
	List<Goods> selectGoods();
	List<Goods> FindGoodsByName(String goods_name);
	
    // 商品列表
	public List<Goods> selectGoodsList(Goods good);
	// 商品数
	public Integer selectGoodsListCount(Goods good);
	
	//商品分类列表
	public List selectCateList();



	int deleteByPrimaryKey(Integer goods_id);

	int insert(Goods goods);

	int insertSelective(generator.Goods record);

	generator.Goods selectByPrimaryKey(Integer goods_id);

	int updateByPrimaryKeySelective(generator.Goods record);

	int updateByPrimaryKeyWithBLOBs(generator.Goods record);

	int updateByPrimaryKey(generator.Goods record);


}
